package algorithm;

/**
 * @Author wangtengyu
 * @Create 2018-03-28-15:05
 */
public class TestString {
    public static void main(String[] args) {
        String a=new String("abc");
        String b=a;
        System.out.println(a==b);
        System.out.println(a.equals(b));
    }

}
